package com.lanou.mapper;

import com.lanou.entity.PsychReply;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface PsychReplyMapper {
    //根据quId查找
    List<PsychReply> selectByPsychId(Integer psychId);
    int insertPsychReply(PsychReply psychReply);
    //根据userid查找
    List<PsychReply> selectPsychById(Integer psychId);
    //根据回复内容查询
    List<PsychReply> selectPsychByReplyContent(PsychReply psychReply);
}
